package com.authine.cloudpivot.ext.model;

import com.authine.cloudpivot.engine.api.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "打开表单类型模型")
public class OpenFormTypeModel extends BaseModel {
    @ApiModelProperty("模型编码")
    private String schemaCode;
    @ApiModelProperty("视图列表编码")
    private String code;
    @ApiModelProperty("表单打开方式")
    private Integer type;


    public String getSchemaCode() {
        return schemaCode;
    }

    public void setSchemaCode(String schemaCode) {
        this.schemaCode = schemaCode;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "OpenFormTypeModel{" +
                "schemaCode='" + schemaCode + '\'' +
                ", code='" + code + '\'' +
                ", type=" + type +
                '}';
    }
}
